﻿using System;

namespace Shuba.Model
{
    [Serializable]
    public class HOInfo
    {
        public HOInfo()
        { 
        }

        /// <summary>
        /// HO Info 
        /// </summary>
        public HOInfo(string HO_ID, 
            string HO_NAME, 
            string ENTRY_BY, 
            DateTime ENTRY_DATE, 
            string UPDATE_BY, 
            DateTime UPDATE_DATE)
        {
            this.HO_ID = HO_ID;
            this.HO_NAME = HO_NAME;
            this.ENTRY_BY = ENTRY_BY;
            this.entry_date = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            this.update_date = UPDATE_DATE;
        }

        /// <summary>
        /// HO Info Tmp
        /// </summary>
        public HOInfo(string HO_ID,
            string HO_NAME,
            string ENTRY_BY,
            DateTime ENTRY_DATE,
            string UPDATE_BY,
            DateTime UPDATE_DATE,
            string ACT_TYPE)
        {
            this.HO_ID = HO_ID;
            this.HO_NAME = HO_NAME;
            this.ENTRY_BY = ENTRY_BY;
            this.entry_date = ENTRY_DATE;
            this.UPDATE_BY = UPDATE_BY;
            this.update_date = UPDATE_DATE;
            this.ACT_TYPE = ACT_TYPE;
        }

        public string HO_ID { get; set; }
        public string HO_NAME { get; set; }
        public string ENTRY_BY { get; set; }

        private DateTime entry_date = DateTime.Now;
        public DateTime ENTRY_DATE 
        {
            get { return entry_date; }
            set { entry_date = value; }
        }

        public string UPDATE_BY { get; set; }

        private DateTime update_date = DateTime.Now;
        public DateTime UPDATE_DATE
        {
            get { return update_date; }
            set { update_date = value; }
        }

        public string ACT_TYPE { get; set; }
    }
}
